import yaml


def read_yaml_file(file):
    with open(file, "r", encoding="utf-8") as f:
        data = yaml.safe_load(f)
        return data


if __name__ == "__main__":
    data = read_yaml_file("example.yaml")
    print(data)
